package errors

import (
	e "errors"
)

const (
	MSG_Mbr_Add_Error                         = `注册中出现异常`
	MSG_Mbr_Exists                            = `手机号已经注册`
	MSG_Mbr_Invalid_Inviter                   = `无效的邀请人`
	MSG_Mbr_Invalid                           = `无效的会员`
	MSG_Mbr_Invalid_Phone                     = `无效的手机号`
	MSG_Mbr_Invalid_VerifyCode                = `无效的验证码`
	MSG_Mbr_Passwd_Too_Short                  = `密码太短`
	MSG_Mbr_VerifyCode_Send_Less_Than_5_Min   = `5分钟内验证码只允许发送一次`
	MSG_Mbr_Login_Error                       = `登陆中出现异常，稍后再试`
	MSG_Mbr_Invalid_Pwd_Or_Phone              = `手机号不存在或密码错误`
	MSG_Mbr_Invalid_MemberType                = `不支持的用户类型`
	MSG_Mbr_Get_Error                         = `获取用户信息出错`
	MSG_Mbr_Upd_Passwd_Error                  = `更新密码失败`
	MSG_Mbr_Upd_Name_Or_IDCardNo_Error        = `用户名或身份证更新失败`
	MSG_Mbr_Send_SMS_Failed                   = `验证码发送失败`
	MSG_Mbr_Get_Carrier_Owner_Error           = `获取车主资料失败`
	MSG_Mbr_Get_Cargo_Owner_Error             = `获取车主资料失败`
	MSG_Mbr_Get_Auth_State_Error              = `获取认证级别失败`
	MSG_Mbr_Upd_Carrier_Owner_Error           = `完善车主信息失败`
	MSG_Mbr_Upd_Cargo_Owner_Error             = `完善货主信息失败`
	MSG_Mbr_Upd_Info_Not_Allowed              = `请先完成企业认证`
	MSG_Mbr_Add_Role_Error                    = `角色生成失败`
	MSG_Mbr_Add_Role_Not_Allowed              = `请先上传个人身份证正反面`
	MSG_Mbr_Only_Cargo_Owner_Can_Make_Waybill = `您的货主身份证在认证中，暂不能下单`
	MSG_Image_Invalid_Type                    = `无效的图片类型`
	MSG_Image_Upload_Error                    = `图片上传失败`
	MSG_Image_Invalid_Size                    = `无效的图片尺寸`
	MSG_Image_Invalid_Ext                     = `无效的图片格式`
	MSG_Image_Invalid_Properties              = `无效的图片描述`
	MSG_Image_Not_Found                       = `读取图片失败`
	MSG_Logi_Invalid_Start_Area               = `无效的起点`
	MSG_Logi_Invalid_End_Area                 = `无效的终点`
	MSG_Logi_Invalid_Shipment_Time            = `无效的装车时间`
	MSG_Logi_Carrier_Pub_AddOrUpdate_Error    = `您已有运单在进行中，请完成后再发布`
	MSG_Logi_Get_Carrier_Pub_Error            = `获取整车信息失败`
	MSG_Logi_Get_Carrier_Pub_List_Error       = `获取整车发布列表失败`
	MSG_Logi_Invalid_Pub_Id                   = `无效的整车id`
	MSG_Logi_Invalid_TermOfValidity           = `无效的发布期限`
	MSG_Logi_Line_Pub_Add_Error               = `专线发布失败`
	MSG_Logi_Line_Pub_Update_Error            = `专线更新失败`
	MSG_Logi_Line_Exists                      = `相同线路的专线已经存在`
	MSG_Logi_Invalid_Line_ID                  = `无效的专线ID`
	MSG_Logi_Invalid_Invoice_Addr_ID          = `无效的发票地址ID`
	MSG_Logi_Too_Many_Invoice_Addrs           = `最多同时只能保存3个发票地址`
	MSG_Logi_Add_Transport_Log_Error          = `记录中发生异常`
	MSG_Logi_Invalid_Transport_Log            = `无效的经纬度坐标`
	MSG_Order_Invalid_Start_Or_End_Area       = `发货起始地或目的地不明确`
	MSG_Order_Invalid_Start_Area              = `发货起始地不符合整车线路计划`
	MSG_Order_Invalid_End_Area                = `发货目的地不符合整车线路计划`
	MSG_Order_Invalid_Carrier_Pub             = `无效的整车路线`
	MSG_Order_Invalid_Shipment_Time           = `无效的发货时间`
	MSG_Order_Invalid_Arrival_Time            = `无效的到达时间`
	MSG_Order_Arrival_Time_Should_Be_Greater  = `货物到达时间应该比装车时间晚`
	MSG_Order_Invalid_Cargo_Name              = `无效的货物名称`
	MSG_Order_Make_Waybill_Error              = `生成整车运单失败`
	MSG_Order_Update_Waybill_Error            = `更新整车运单失败`
	MSG_Order_Invalid_Waybill                 = `无效的整车运单`
	MSG_Order_Invalid_Linebill                = `无效的专线运单`
	MSG_Order_Get_Waybill_Error               = `运单查询失败`
	MSG_Order_Invalid_Waybill_ID              = `无效的运单ID`
	MSG_Order_Invalid_Invoice_Corp            = `无效的开票公司`
	MSG_Order_Update_Linebill_Error           = `更新专线运单失败`
	MSG_Order_Upd_Error                       = `处理运单失败`
	MSG_General_Invalid_Ver                   = `invalid client version format.`
	MSG_General_Invalid_Or_Low_Ver            = `version too low or invalid.`
)

func New(text string) error {
	return e.New(text)
}
